package com.uduemc.biso.module.basic.service.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.uduemc.biso.core.extities.center.SysContainerType;
import com.uduemc.biso.module.basic.service.mapper.SysContainerTypeMapper;
import com.uduemc.biso.module.basic.service.service.SysContainerTypeService;

@Service
public class SysContainerTypeServiceImpl implements SysContainerTypeService {

	@Autowired
	private SysContainerTypeMapper sysContainerTypeMapper;

	@Override
	public SysContainerType findOne(long id) {
		return sysContainerTypeMapper.selectByPrimaryKey(id);
	}

	@Override
	public List<SysContainerType> findAll() {
		return sysContainerTypeMapper.selectAll();
	}

}
